import { axios } from '@/utils/request'

const api = {
  getDistrictList: '/district/list'
}

export default api

export function districtList (parameter) {
  return axios({
    url: api.getDistrictList,
    method: 'get',
    params: parameter
  })
}
